package com.ali.sqlSession;

import com.ali.pogo.Configuration;

import java.util.List;

public interface SqlSession {
    public <E> List<E> selectList(String statementId, Object... params) throws Exception;
    Configuration getConfiguration();
    <T> T getMapper(Class<T> type) throws Exception;
    int insert(String statement,Object[] parameter);
    int update(String statement,Object[] parameter);
    int delete(String statement,Object[] parameter);
}
